@layout("/common/_container.html",{plugins:["formSelects"], js:["/assets/modular/launchpad/product/product_add.js"]}){

<form id="productForm" lay-filter="productForm" class="layui-form model-form">
    <div class="layui-form-item">
        <label class="layui-form-label">名称<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <select name="name" xm-select="name" xm-select-radio xm-select-search lay-verify="required" required></select>
        </div>
    </div>
    <div class="layui-inline" style="padding: 14px 110px 24px;">
        <button type="button" class="layui-btn" id="uploadImage">上传币种图标 LOGO</button>
    </div>
    <div class="layui-inline">
        <div class="layui-upload-list">
            <img class="layui-upload-img" name="showImage" id="showImage" style="width: 40px;height: 40px;" >
            <p id="demoText2"></p>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">质押币种<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <select name="pledgeCoins" xm-select="pledgeCoins" xm-select-search lay-verify="required" required></select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">每次分红总金额<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="totalReward" id="totalReward" placeholder="请输入每次分红总金额" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">开始时间<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="startTime" id="startTime" placeholder="请输入开始时间" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">分红天数<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="cycleDay" id="cycleDay" placeholder="请输入分红天数" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">分红间隔(分钟)<span style="color: red;">*</span></label>
        <div class="layui-input-block">
            <input name="intervalTime" id="intervalTime" placeholder="请输入分红间隔时间(分钟)" type="text" class="layui-input" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">项目摘要</label>
        <div class="layui-input-block">
            <input name="summary" id="summary" placeholder="请输入项目摘要" type="text" class="layui-input"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">排序</label>
        <div class="layui-input-block">
            <input name="sortNum" id="sortNum" placeholder="请输入排序号" type="text" value="1" class="layui-input"/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">产品链接配置</label>
        <div class="layui-input-block" id="inputContainer">
            <button id="addRowBtn" type="button" class="layui-btn">增加一行</button>
        </div>
    </div>
    <div class="layui-form-item text-right">
        <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">取消</button>
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
    </div>
</form>
@}
